<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 基本表单</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div style="margin-left: 200px;">
<form role="form" method="post" enctype="multipart/form-data" action="/student/save" style="width: 500px;">
    <div class="form-group">
        <label for="name">用户名</label>
        <input type="text" name="username" class="form-control" id="name"
               placeholder="请输入用户名" >
    </div>
    <div class="form-group">
        <label for="name">邮箱地址</label>
        <input type="text" name="email" class="form-control" id="email"
               placeholder="请输入邮箱地址" required>
    </div>
    <div class="form-group">
        <label for="name">手机号码</label>
        <input type="text" name="mobile" class="form-control" id="mobile"
               placeholder="请输入手机号码" required>
    </div>

    <div class="form-group">
        <label for="name">头像上传</label>
        <input type="file" name="img" class="form-control" id="img">
    </div>

    <button type="submit" class="btn btn-default">提交</button>
</form>
</div>
</body>
</html>